using System;
using System.Collections.Generic;
using Zero.Data;

namespace Zero.Entity.Models
{
    public class CF_User :BaseEntity
    {
        public CF_User()
        {
            this.Roles = new List<CF_Role>();
        }

        public string UserID { get; set; }
        public string LoginName { get; set; }
        public string LoginPassword { get; set; }
        public string DeptID { get; set; }
        public string SupplierID { get; set; }
        public string EmployeeID { get; set; }
        public string RealName { get; set; }
        public string Title { get; set; }
        public Nullable<bool> Sex { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
        public string Email { get; set; }
        public string QQ { get; set; }
        public string NickName { get; set; }
        public string Address { get; set; }
        public Nullable<System.DateTime> LastLoginTime { get; set; }
        public virtual ICollection<CF_Role> Roles { get; set; }
        public string SID { get; set; }
    }
}
